package cn.wetcland.urban.admin.service;

import cn.wetcland.urban.admin.dto.DriverUpdateDTO;
import cn.wetcland.urban.generator.domain.UtDriver;
import cn.wetcland.urban.generator.dto.BaseConditionSearchDTO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Wetcland
* @description 针对表【ut_driver】的数据库操作Service
* @createDate 2024-01-21 09:51:59
*/
public interface UtDriverService extends IService<UtDriver> {

    Page<UtDriver> driverList(BaseConditionSearchDTO searchDTO);

    Page<UtDriver> verifyDriverList(BaseConditionSearchDTO searchDTO);

    void handleDriverBanOrUnban(Long driverId);

    void handleDriverDelete(Long driverId);

    void verifyDriver(Long driverId);

    void handleDriverUpdate(DriverUpdateDTO updateDTO);
}
